package com.xuef.ibatis.executor;

import com.xuef.ibatis.mapping.MappedStatement;
import sun.plugin2.main.server.ResultHandler;

import java.sql.SQLException;
import java.util.List;

/**
 * Created by xuefengDong: moveb
 * On 2019/4/25- 19:43
 * 执行器
 */
public interface Executor {
    <E> List<E> query(MappedStatement ms,
                      Object parameter,
                      ResultHandler resultHandler) throws SQLException;
}
